package com.ying.dogying.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 李华明
 * @since 2020-06-05
 */
@TableName("im_user")
public class ImUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 昵称
     */
    @TableField("USERNAME")
	@org.hibernate.validator.constraints.NotBlank
	@javax.validation.constraints.NotBlank(message = "昵称不可以不填呦O(∩_∩)O")
    private String username;

    /**
     * 密码
     */
    @TableField("PASSWORD")
	@NotBlank(message = "密码不可以不填呦O(∩_∩)O")
    private String password;

    /**
     * 邮件
     */
    @TableField("EMAIL")
    private String email;

    /**
     * 手机电话
     */
    @TableField("MOBILE")
    private String mobile;

    /**
     * 积分
     */
    @TableField("POINT")
    private Integer point;

    /**
     * 个性签名
     */
    @TableField("SIGN")
    private String sign;

    /**
     * 性别
     */
    @TableField("GENDER")
    private String gender;

    /**
     * 微信号
     */
    @TableField("WECHAT")
    private String wechat;

    /**
     * vip等级
     */
    @TableField("VIP_LEVEL")
    private Integer vipLevel;

    /**
     * 生日
     */
    @TableField("BIRTHDAY")
    private Date birthday;

    /**
     * 头像
     */
    @TableField("AVATAR")
    private String avatar;

    /**
     * 内容数量
     */
    @TableField("POST_COUNT")
    private Integer postCount;

    /**
     * 评论数量
     */
    @TableField("COMMENT_COUNT")
    private Integer commentCount;

    /**
     * 状态
     */
    @TableField("STATUS")
    private Integer status;

    /**
     * 最后的登陆时间
     */
    @TableField("LAST_TIME")
    private Date lastTime;

    /**
     * 创建日期
     */
    @TableField("CREATE_TIME")
    private Date createTime;

    /**
     * 最后修改时间
     */
    @TableField("UPDATE_TIME")
    private Date updateTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public Integer getPoint() {
		return point;
	}

	public void setPoint(Integer point) {
		this.point = point;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public Integer getVipLevel() {
		return vipLevel;
	}

	public void setVipLevel(Integer vipLevel) {
		this.vipLevel = vipLevel;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public Integer getPostCount() {
		return postCount;
	}

	public void setPostCount(Integer postCount) {
		this.postCount = postCount;
	}

	public Integer getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(Integer commentCount) {
		this.commentCount = commentCount;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getLastTime() {
		return lastTime;
	}

	public void setLastTime(Date lastTime) {
		this.lastTime = lastTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
